import './App.css'
import { Provider } from "react-redux";
import store from "./store/index"
import { HashRouter } from "react-router-dom";
import { renderRoutes } from "react-router-config";
import routes from "./routes/index"

function App() {
  return (

    <Provider store={store}>
      <div className="App">
        <HashRouter>
          {renderRoutes(routes)}
        </HashRouter>
      </div>
    </Provider>

  )
}

export default App
